package com.summerlabs.nfc.ui

import android.content.Intent
import android.nfc.NfcAdapter
import android.nfc.Tag
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.summerlabs.nfc.databinding.ActivityNfcBinding
import com.summerlabs.nfc.goto

class NfcActivity : AppCompatActivity() {
    private lateinit var binding: ActivityNfcBinding
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityNfcBinding.inflate(layoutInflater)
        setContentView(binding.root)
        binding.readCard.setOnClickListener {
            goto(NfcReadActivity::class)
        }
        binding.writeCard.setOnClickListener {
            goto(NfcWriteActivity::class)
        }
    }


}